﻿using CommonLib;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GameStateLogin : GameStateBase
{

	public override string StateKey => "Login"; 
	public override void EnterState()
	{
		base.EnterState();
		//SceneLevelManager.LoadLevel("1_Login");
		UIViewManagerBase.Instance.Respon("LoginOpen");
		UIViewManagerBase.Instance.Register("LoginClose", (@obejct)=> {
			EndState(GameStateController.GetGameState(GameState.Lobby));
		});
	}
	public override void StateUpdate()
	{
		
	}

}
